import React, { PureComponent } from 'react';
import './index.less';


import { Layout } from 'antd';
import NavLeft from './navleft'
import Header from './header'
import Footer from './footer'

class App extends PureComponent{
    render(){
        return(
            <Layout className="layout">
                <NavLeft />
                <Layout>
                    <Header homeTitle="React+Antd后台管理系统" />
                    <Layout.Content>
                        {this.props.children}
                    </Layout.Content>
                    <Footer />
                </Layout>
            </Layout>
        );
    }
};

export default App;